<template>
  <van-row>
    <!-- 导航栏高度50px -->
    <div span="24" class="title">
      <van-icon name="arrow-left" @click="backBefore"/>
      {{ backTitle }}
    </div>
    <van-col> </van-col>
  </van-row>
</template>

<script>
export default {
  name: "Backnav",
  props: ["backTitle"],
  methods:{
      backBefore(){
          this.$router.go(-1)
      }
  }
}
</script>

<style lang="less" scoped>
    .title{
        background-color: #4bd863;
        height: 20px;
        line-height: 20px;
        padding: 15.5px;
        color: white;
        font-size: 16px;
        font-weight: 900;
        position: fixed;
        top: 0;
        z-index: 9999;
        width: 100%;
    }
</style>